<template>
  <a-breadcrumb>
    <a-breadcrumb-item v-for="route in routes" :key="route.name">
      <router-link :to="route.path">{{route.name}}</router-link>
    </a-breadcrumb-item>
  <router-view/>
  </a-breadcrumb>
</template>
<script>
export default {
  data () {
    return {
      routes: []
    }
  },
  created () {
    this.routes = this.$router.options.routes[1].children[4].children
    console.log(this.$router.options.routes[1].children[4].children)
  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>

</style>
